<?php
if(!isset($_SESSION))
   session_start();
?>
<div id="header">
   <div id="user">
<?php if(isset($_SESSION['email'])):?>
   <a href="/~N02233598/2011/login/main.php"><?php echo $_SESSION['email'];?></a>
<?php else: ?>
   <a href="/~N02233598/2011/login/index.php">Login/Register</a>
<?php endif;?>
</div>
  <p>Welcome</p>
</div>
